dart string to bytes

92

String foo = 'Hello world';
List<int> bytes = foo.codeUnits;
print(bytes);

Comments

Submit
0 Comments